continue, Control structures


Description:

continue is used within looping structures to skip the rest of the current loop iteration and continue execution at the beginning of the next iteration.

Example
var i=0;
while (true) {
	if (i==0)
		continue; // avoid division by zero

	var x=1/i;
	i++;

	if (i==10)
		break;
}